PATHMac OS 8 and 9 Developer Documentation > Human Interface Toolbox > Appearance Manager >

Programming With the Appearance Manager


DrawThemeMenuBarBackground

Draws a menu bar background.

pascal OSStatus DrawThemeMenuBarBackground (
                     const Rect *inBounds,
                     ThemeMenuBarState inState,
                     UInt32 inAttributes);
inBounds
A pointer to a structure of type Rect . Before calling DrawThemeMenuBarBackground , set the rectangle to specify the menu bar's initial size and location, in global coordinates.
inState
A value of type ThemeMenuBarState . Pass a constant specifying the state (active or selected) in which to draw the menu bar; see Theme Menu Bar State Constants .
inAttributes
Reserved. Pass 0.
function result
A result code; see Result Codes .
DISCUSSION

The DrawThemeMenuBarBackground function draws a theme-compliant menu bar background in the specified rectangle.

VERSION NOTES

Available with Appearance Manager 1.0.1 and later.


© 1999 Apple Computer, Inc. – (Last Updated 29 April 99)